<%@ page language="java" pageEncoding="UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
			<table width="600" border="1" align="center" cellpadding="0"
				cellspacing="0" style="border-collapse:collapse ">
				<tr>
					<td width="25%" height="25" align="right">
						Title:
					</td>
					<td width="75%">
						<s:property value="#attr.debug.title" />
					</td>
				</tr>
				<tr>
					<td height="25" align="right">
						Tester:
					</td>
					<td>
					<s:property value="#attr.debug.user.name"/>
					</td>
				</tr>
				<tr>
					<td height="25" align="right">
						Audit Date:
					</td>
					<td>
					<s:date name="#attr.debug.auditDate" format="yyyy-MM-dd"/>
					</td>
				</tr>
				<tr>
					<td height="25" align="right">
						Type:
					</td>
					<td>
						<s:property value="@com.debug.config.Constant@getString(#attr.debug.type)"/>
					</td>
				</tr>
				<tr>
				<td height="25" align="right">
						System:
					</td>
					<td>
						<s:property value="config.getSystemName(#attr.debug.system)"/>
					</td>
				</tr>
				<tr>
					<td height="25" align="right">
						Developer:
					</td>
					<td>
						<s:property value="#attr.debug.user.name"/>
					</td>
				</tr>
				<tr>
					<td height="25" align="right">
						Status:
					</td>
					<td>
						<s:property value="@com.debug.config.Constant@getString(#attr.debug.status)"/>
					</td>
				</tr>
				<tr>
					<td height="25" align="right">
						Start Date:
					</td>
					<td>
						<s:date name="#attr.debug.startDate" format="yyyy-MM-dd"/>
					</td>
				</tr>
				<tr>
					<td height="25" align="right">
						End Date:
					</td>
					<td>
						<s:date name="#attr.debug.endDate" format="yyyy-MM-dd"/>					</td>
				</tr>
				<tr>
					<td height="25" align="right">
						Man-hours:
					</td>
					<td>
						<s:property value="#attr.debug.times"/>
					</td>
				</tr>
				<tr align="center">
					<td height="25" colspan="2">
						Details
					</td>
				</tr>
				<tr>
					<td colspan="2">
						<s:if
							test="%{#attr.debug.type==@com.debug.config.Constant@DEBUG_TYPE_BUG}">
							<table width="100%" border="1" cellpadding="0" cellspacing="0"
								style="border-collapse:collapse ">
								<tr>
									<td width="22%" height="70" align="right">
										Detail Description:
									</td>
									<td width="78%">
										<s:property value="htmlEncode(#attr.debug.description)" escape="false"/>
									</td>
								</tr>
								<tr>
									<td height="25" align="right">
										Level:
									</td>
									<td>
										<s:property value="config.getBugLevelName(#attr.debug.level)"/>
									</td>
								</tr>
								<tr>
									<td height="70" align="right">
										Reason:
									</td>
									<td>
										<s:property value="htmlEncode(#attr.debug.reason)" escape="false"/>
									</td>
								</tr>
								<tr>
									<td height="70" align="right">
										Solution:
									</td>
									<td>
										<s:property value="htmlEncode(#attr.debug.solve)" escape="false"/>
									</td>
								</tr>
							</table>
						</s:if>
						<s:elseif
							test="%{#attr.debug.type==@com.debug.config.Constant@DEBUG_TYPE_ADVISORY}">
							<table width="100%" border="1" cellpadding="0" cellspacing="0"
								style="border-collapse:collapse ">
								<tr>
									<td width="22%" height="70" align="right">
										Content:
									</td>
									<td width="78%">
										<s:property value="htmlEncode(#attr.debug.content)" escape="false"/>
									</td>
								</tr>
								<tr>
									<td height="25" align="right">
										Advisory Mode:
									</td>
									<td>
										<s:property value="config.getAdvisoryModeName(#attr.debug.mode)"/>
									</td>
								</tr>
								<tr>
									<td height="70" align="right">
										Reply:
									</td>
									<td>
										<s:property value="htmlEncode(#attr.debug.reply)" escape="false"/>
									</td>
								</tr>
							</table>
						</s:elseif>
						<s:elseif
							test="%{#attr.debug.type==@com.debug.config.Constant@DEBUG_TYPE_UPDATE}">
							<table width="100%" border="1" cellpadding="0" cellspacing="0"
								style="border-collapse:collapse ">
								<tr>
									<td width="22%" height="70" align="right">
										Original Function:
									</td>
									<td width="78%">
										<s:property value="htmlEncode(#attr.debug.oldfunction)" escape="false"/>
									</td>
								</tr>
								<tr>
									<td height="70" align="right">
										Modify Details:
									</td>
									<td>
										<s:property value="htmlEncode(#attr.debug.description)" escape="false"/>
									</td>
								</tr>
								<tr>
									<td height="70" align="right">
										Process:
									</td>
									<td>
										<s:property value="htmlEncode(#attr.debug.process)" escape="false"/>
									</td>
								</tr>
							</table>
						</s:elseif>
						<s:elseif test="%{#attr.debug.type==@com.debug.config.Constant@DEBUG_TYPE_NEWFUNCTION}">
							<table width="100%" border="1" cellpadding="0" cellspacing="0"
								style="border-collapse:collapse ">
								<tr>
									<td width="22%" height="70" align="right">
										Requirement:
									</td>
									<td width="78%">
										<s:property value="htmlEncode(#attr.debug.requirement)" escape="false"/>
									</td>
								</tr>
								<tr>
									<td height="70" align="right">
										Process:
									</td>
									<td>
										<s:property value="htmlEncode(#attr.debug.process)" escape="false"/>
									</td>
								</tr>
							</table>
						</s:elseif>
						<s:elseif
							test="%{#attr.debug.type==@com.debug.config.Constant@DEBUG_TYPE_OTHER}">
							<table width="100%" border="1" cellpadding="0" cellspacing="0"
								style="border-collapse:collapse ">
								<tr>
									<td width="22%" height="70" align="right">
										Description:
									</td>
									<td width="78%">
										<s:property value="htmlEncode(#attr.debug.description)" escape="false"/>
									</td>
								</tr>
								<tr>
									<td height="70" align="right">
										Process:
									</td>
									<td>
										<s:property value="htmlEncode(#attr.debug.solve)" escape="false"/>
									</td>
								</tr>
							</table>
						</s:elseif>
					</td>
				</tr>
</table>

